home *** CD-ROM | disk | FTP | other *** search
- % Asymptote runs this script every time it starts up.
- %
- % If you don't want the start up script to run, select
- % File>Options>Preferences and disable this option.
- %
- % You can use this Startup script to change the default
- % values for the graphics environment or to perform some
- % function every time Asymptote starts up.
- %
- % After Asymptote runs the Startup script, it records
- % the settings of the graphics environment such as pensize
- % font, graphframe, etc.
- %
- % Every time you run the Recorder, Asymptote restores the
- % parameters of the graphics environment to the values they
- % had when this Startup script finished running.
- % ----------------------------------------------------------
-
- % These are some examples of what you can do with the
- % Startup script. Feel free to make any changes you like.
-
- % Choose to measure graph coordinates in inches:
- graphunits in
-
- % Uncomment this line to use centimeters instead:
- % graphunits cm
- % Note: If you choose to use centimeters, make sure you use the
- % alternate graphframe command below.
-
- % Make the default graphics area square and put it roughly
- % in the center of the page (in inches):
- graphframe 2 7 2 7
- % graphframe 5 18 5 18 % same thing but in centimeters:
-
- % Make Helvetica the default font for graph labels:
- fontname Helvetica
-
- % Use these commands to change the default size
- % for points, tickmarks and labels when scale = 1.0.
- fontsize 12 % Default size of labels (in points)
- pointsize 6 % Default size for point symbols (in points)
- ticksize 12 % Default length of tick marks (in points)
- pensize 0.25 % hairline
-
- % You can change any of the other parameters of the
- % graphics environment (such as pencolor, etc.) to have
- % these become the new default values.
-
- % The following command runs a script that sets a number
- % of useful physical constants. Uncommon the next two
- % lines if you want to have Asymptote set these constants:
-
- % Constants
- % close Constants
-
- % You probably don't want the start up script to remain
- % open after it runs so put the closewindow command at
- % the end to close this window once the script finishes
- % running.
- closewindow
-